package com.ts.enterprise.module.user.vo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserDetailVO {

    private Long id;

    @ApiModelProperty(value = "姓名")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "角色id")
    private Integer roleId;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "默认 1 计件方式 1 扫码上数  2 上数管理和扫码上数   3 禁用上数管理和扫码上数")
    private Integer calculateType;

    @ApiModelProperty(value = "默认 1 上数方式 1 自己  2 自己和其他员工")
    private Integer numberType;

    @ApiModelProperty(value = "查看价格 默认  0 禁止  1 允许")
    private Integer showPrice;

    @ApiModelProperty(value = "查看IE核价 默认  0 禁止  1 允许")
    private Integer showIePrice;

    @ApiModelProperty(value = "查看工资默认 0 不允许  1 允许")
    private Integer showSalary;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "部门id")
    private Long departmentId;

    @ApiModelProperty(value = "性别 0 未知  1男  2 女")
    private Integer sex;

    @ApiModelProperty(value = "部门sort值大的排序靠后")
    private Integer sort;

    @ApiModelProperty(value = "默认 0 状态 1 在职   5 注销")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty("租户ID")
    private String tenantId;

    @ApiModelProperty(value = "0 禁用 1 启用")
    private Integer enable;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "禁用原因")
    private String disableReason;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "部门名")
    private String depName;

    @ApiModelProperty(value = "其他工资")
    private String otherSalary;

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "企业地址")
    private String address;

}
